#ifndef __TwDummyObject_H__
#define __TwDummyObject_H__

#include "TwD3DHeaders.h"
#include "TwSceneNode.h"
#include "TwBone.h"
#include <string>
#include <map>

class TwDummyObject : public TwSceneNode
{
public:
	TwDummyObject(const std::string& name);
	virtual ~TwDummyObject();

	void setParentName(const std::string& name);
	const std::string& getParentName();

	void setInitScale(const D3DXVECTOR3& scale);
	void setInitQrientation(const D3DXQUATERNION& q);
	void setInitPosition(const D3DXVECTOR3& pos);

	void setAttachedBone(TwBone* bone);
	TwBone* getAttachedBone();

protected:
	virtual void updateFromParentImpl();

protected:
	TwBone*			mBone;
	std::string		mParentName;

	D3DXQUATERNION	mInitOrientation;
	D3DXVECTOR3		mInitPosition;
	D3DXVECTOR3		mInitScale;
};

#endif //__TwDummyObject_H__